<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body>
    <h1>首页面</h1>
    {% for message in get_flashed_messages(category_filter = ('info')) %}
    <span style="color:red;">{{message}}</span>
    {% endfor %}
    <p>登录成功！欢迎您{{username}}</p>
</body>
</html>